import React from 'react';
import { hydrateRoot } from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import App from '@/shared/App';

const container = document.getElementById('root');

if (container) {
  hydrateRoot(container, 
    <BrowserRouter>
      <App />
    </BrowserRouter>)
}